3.8.78 \(\int \frac {(A+B x) (a+b x+c x^2)}{x^7} \, dx\)

Optimal. Leaf size=47 \[ -\frac {a B+A b}{5 x^5}-\frac {a A}{6 x^6}-\frac {A c+b B}{4 x^4}-\frac {B c}{3 x^3} \]

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 47, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {765} \begin {gather*} -\frac {a B+A b}{5 x^5}-\frac {a A}{6 x^6}-\frac {A c+b B}{4 x^4}-\frac {B c}{3 x^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((A + B*x)*(a + b*x + c*x^2))/x^7,x]

[Out]

-(a*A)/(6*x^6) - (A*b + a*B)/(5*x^5) - (b*B + A*c)/(4*x^4) - (B*c)/(3*x^3)

Rule 765

Int[((e_.)*(x_))^(m_.)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[Expand
Integrand[(e*x)^m*(f + g*x)*(a + b*x + c*x^2)^p, x], x] /; FreeQ[{a, b, c, e, f, g, m}, x] && IntegerQ[p] && (
GtQ[p, 0] || (EqQ[a, 0] && IntegerQ[m]))

Rubi steps

\begin {align*} \int \frac {(A+B x) \left (a+b x+c x^2\right )}{x^7} \, dx &=\int \left (\frac {a A}{x^7}+\frac {A b+a B}{x^6}+\frac {b B+A c}{x^5}+\frac {B c}{x^4}\right ) \, dx\\ &=-\frac {a A}{6 x^6}-\frac {A b+a B}{5 x^5}-\frac {b B+A c}{4 x^4}-\frac {B c}{3 x^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 45, normalized size = 0.96 \begin {gather*} -\frac {2 a (5 A+6 B x)+x (3 A (4 b+5 c x)+5 B x (3 b+4 c x))}{60 x^6} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((A + B*x)*(a + b*x + c*x^2))/x^7,x]

[Out]

-1/60*(2*a*(5*A + 6*B*x) + x*(5*B*x*(3*b + 4*c*x) + 3*A*(4*b + 5*c*x)))/x^6

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {(A+B x) \left (a+b x+c x^2\right )}{x^7} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[((A + B*x)*(a + b*x + c*x^2))/x^7,x]

[Out]

IntegrateAlgebraic[((A + B*x)*(a + b*x + c*x^2))/x^7, x]

________________________________________________________________________________________

fricas [A]  time = 0.38, size = 39, normalized size = 0.83 \begin {gather*} -\frac {20 \, B c x^{3} + 15 \, {\left (B b + A c\right )} x^{2} + 10 \, A a + 12 \, {\left (B a + A b\right )} x}{60 \, x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+b*x+a)/x^7,x, algorithm="fricas")

[Out]

-1/60*(20*B*c*x^3 + 15*(B*b + A*c)*x^2 + 10*A*a + 12*(B*a + A*b)*x)/x^6

________________________________________________________________________________________

giac [A]  time = 0.15, size = 41, normalized size = 0.87 \begin {gather*} -\frac {20 \, B c x^{3} + 15 \, B b x^{2} + 15 \, A c x^{2} + 12 \, B a x + 12 \, A b x + 10 \, A a}{60 \, x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+b*x+a)/x^7,x, algorithm="giac")

[Out]

-1/60*(20*B*c*x^3 + 15*B*b*x^2 + 15*A*c*x^2 + 12*B*a*x + 12*A*b*x + 10*A*a)/x^6

________________________________________________________________________________________

maple [A]  time = 0.05, size = 40, normalized size = 0.85 \begin {gather*} -\frac {B c}{3 x^{3}}-\frac {A a}{6 x^{6}}-\frac {A c +b B}{4 x^{4}}-\frac {A b +B a}{5 x^{5}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((B*x+A)*(c*x^2+b*x+a)/x^7,x)

[Out]

-1/5*(A*b+B*a)/x^5-1/4*(A*c+B*b)/x^4-1/3*B*c/x^3-1/6*A*a/x^6

________________________________________________________________________________________

maxima [A]  time = 0.59, size = 39, normalized size = 0.83 \begin {gather*} -\frac {20 \, B c x^{3} + 15 \, {\left (B b + A c\right )} x^{2} + 10 \, A a + 12 \, {\left (B a + A b\right )} x}{60 \, x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x^2+b*x+a)/x^7,x, algorithm="maxima")

[Out]

-1/60*(20*B*c*x^3 + 15*(B*b + A*c)*x^2 + 10*A*a + 12*(B*a + A*b)*x)/x^6

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 41, normalized size = 0.87 \begin {gather*} -\frac {\frac {B\,c\,x^3}{3}+\left (\frac {A\,c}{4}+\frac {B\,b}{4}\right )\,x^2+\left (\frac {A\,b}{5}+\frac {B\,a}{5}\right )\,x+\frac {A\,a}{6}}{x^6} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((A + B*x)*(a + b*x + c*x^2))/x^7,x)

[Out]

-((A*a)/6 + x*((A*b)/5 + (B*a)/5) + x^2*((A*c)/4 + (B*b)/4) + (B*c*x^3)/3)/x^6

________________________________________________________________________________________

sympy [A]  time = 2.67, size = 46, normalized size = 0.98 \begin {gather*} \frac {- 10 A a - 20 B c x^{3} + x^{2} \left (- 15 A c - 15 B b\right ) + x \left (- 12 A b - 12 B a\right )}{60 x^{6}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((B*x+A)*(c*x**2+b*x+a)/x**7,x)

[Out]

(-10*A*a - 20*B*c*x**3 + x**2*(-15*A*c - 15*B*b) + x*(-12*A*b - 12*B*a))/(60*x**6)

________________________________________________________________________________________